Skip to content

fix(release): follow the attestation bundle rename in the repo-owned asset check and SECURITY.md - #76

Merged
Vivswan merged 2 commits into
mainfrom
chore/attestation-asset-rename
Sep 4, 2026
Merged

fix(release): follow the attestation bundle rename in the repo-owned asset check and SECURITY.md#76
Vivswan merged 2 commits into
mainfrom
chore/attestation-asset-rename

Conversation

@Vivswan

@Vivswan Vivswan commented Sep 4, 2026

Copy link
Copy Markdown
Owner

What this changes

The template sync in #74 renamed the attestation bundle the managed publish stage attaches:

.github/workflows/release.yml (managed)      BUNDLE_NAME: attestation.json
.github/workflows/update-release.yml:171     select(. != "attestation.jsonl")      <- still the old name
SECURITY.md:34                               --bundle against the `attestation.jsonl` release asset

How

before: publish attaches attestation.json -> a rerun's asset check sees [attestation.json index.js settings.schema.json] != expected -> pipeline stops
after:  asset check ignores attestation.json AND attestation.jsonl (a pre-rename attempt's leftover the managed cleanup does not delete)
  • update-release.yml: the ignore list names both bundle names, with the reason beside it; comments follow the rename.
  • SECURITY.md: gh attestation verify --bundle points at attestation.json.

Raised by the Copilot review on #74. Its other note, the managed release.yml deleting only the current bundle name on reruns, belongs to Vivswan/repo-platform and is not touched here.

Proof

  • yamllint and actionlint green on the workflow; git grep attestation.jsonl leaves only the deliberate legacy-name ignore.
  • Rubber-duck review (codex): no findings.

…asset check and SECURITY.md

The template sync in #74 renamed the release attestation bundle the managed publish stage attaches from attestation.jsonl to attestation.json. The repo-owned pre-publish asset check still ignored only the old name, so a rerun after the publish stage had attached the new bundle would count it as an unexpected third asset and stop the pipeline; SECURITY.md still told readers to verify against the old asset name.

The check now ignores both names: the managed cleanup deletes only the current one, so a draft a pre-rename attempt left an attestation.jsonl on keeps it. SECURITY.md and the workflow's comments name the new asset.
Copilot AI balanced review requested due to automatic review settings September 4, 2026 22:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow must remove the legacy bundle and exclude only the current bundle from validation.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates release validation and security guidance for the renamed attestation bundle.

Changes:

  • Documents attestation.json as the current bundle.
  • Adjusts release asset validation for current and legacy bundle names.
File summaries
File Description
SECURITY.md Updates bundle verification guidance.
.github/workflows/update-release.yml Updates asset validation, but retaining the legacy bundle may publish stale provenance.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/update-release.yml Outdated
…d of ignoring it

A leftover from a pre-rename attempt is stale provenance the managed publish stage no longer cleans up (it deletes only the current bundle name), so the repo-owned asset check deletes it before comparing and ignores only attestation.json.
Copilot AI review requested due to automatic review settings September 4, 2026 22:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

All reviewed changes are consistent, and no unresolved issues remain.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@Vivswan
Vivswan marked this pull request as ready for review September 4, 2026 22:38
@Vivswan
Vivswan merged commit 3704176 into main Sep 4, 2026
25 checks passed
@Vivswan
Vivswan deleted the chore/attestation-asset-rename branch September 4, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants